<template>
  <el-rate
    class="rate"
    v-model="curRate"
    disabled
    show-score
    text-color="#ff9900"
  >
  </el-rate>
</template>

<script>
export default {
  props: {
    rate: Number,
  },
  data() {
    return {
      curRate: this.rate,
    };
  },
};
</script>

<style scoped>
.rate >>> .el-rate__icon {
  margin-right: 0;
}
</style>
